<div class="addresses form">
    <?php echo $this->Form->create('Address'); ?>
    <fieldset>
        <legend><?php echo __('Admin Edit Address'); ?></legend>
        <?php
        echo $this->Form->input('id');
        echo $this->Form->input('user_id');
        echo $this->Form->input('is_primary');
        echo $this->Form->input('mailing_address');
        echo $this->Form->input('apt_no');
        echo $this->Form->input('city');
        echo $this->Form->input('state_id');
        echo $this->Form->input('zip');
        echo $this->Form->input('no_of_aduldts');
        echo $this->Form->input('no_of_children');
        echo $this->Form->input('is_allowed_mail');
        ?>
    </fieldset>
    <?php echo $this->Form->end(__('Submit')); ?>
</div>
<div class="actions">
    <h3><?php echo __('Actions'); ?></h3>
    <ul>

        <li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $this->Form->value('Address.id')), null, __('Are you sure you want to delete # %s?', $this->Form->value('Address.id'))); ?></li>
        <li><?php echo $this->Html->link(__('List Addresses'), array('action' => 'index')); ?></li>
        <li><?php echo $this->Html->link(__('List Users'), array('controller' => 'users', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
        <li><?php echo $this->Html->link(__('List States'), array('controller' => 'states', 'action' => 'index')); ?> </li>
        <li><?php echo $this->Html->link(__('New State'), array('controller' => 'states', 'action' => 'add')); ?> </li>
    </ul>
</div>
